var MYMAP = {
	map: null, // 地图对象
	init: function(_layer, _config) {
		// 初始地图对象
		MYMAP.map = new ol.Map({
			layers: [_layer],
			loadTilesWhileAnimating: true,
			target: document.getElementById("map"),
			controls: ol.control.defaults({
				attributionOptions: ({
					collapsible: false
				})
			}),
			view: new ol.View({
				center: _config.center,
				zoom: _config.zoom,
				maxZoom: _config.maxZoom,
				minZoom: _config.minZoom,
			}),
			interactions: ol.interaction.defaults({
				doubleClickZoom: false
			})
		});
		//添加手工定位标记图层
		MYMAP.map.addLayer(MARKER.markLayer());
	}
}